# Chat Engine

Chat Engine is a set of configurations that allow you to customize the chat experience for your users. You can configure the chat engine to use different models for generating responses, reranking results, and more.

## Configure Chat Engine

After logging in with an admin account, you can configure the Chat Engine in the admin panel.

1. Click on the `Chat Engines` tab;
2. Click on the `New Chat Engine` button to create a new chat engine;

    !["Chat Engine Creation Page - Basic Information Section"](https://github.com/user-attachments/assets/981a0adc-eac2-484d-8141-7d62c394fd0f )

3. In the `Retrieval` section, you can configure [knowledge base](./knowledge-base.mdx) as the knowledge source and related retrieval parameters.

    !["Chat Engine Configuration Page - Retrieval Section"](https://github.com/user-attachments/assets/ed3f3320-a623-4ebb-a10e-d3bee264f20f)


4. You can also change the prompt to customize the chat experience for your users. The prompt is the message that the chatbot sends to the user to start the conversation.

    !["Chat Engine Configuration Page - Prompt Section"](https://github.com/user-attachments/assets/21efccf0-093b-4243-87c8-159ef5975e3c)

5. Click the `Create Chat Engine` button to finish the configuration.

6. Now you can chat with LLM through the chat engine in the chat interface.

    !["Chat Engine Chat Interface"](https://github.com/user-attachments/assets/cf8766f5-889c-4a05-8841-a5f6fa72845e)

